SELinux Shutdown

要讓 KSMG 在 CentOS、Red Hat Enterprise Linux 和 Rocky Linux 作業系統上執行,您必須停用 SELinux

要停用 SELinux:

  1. 檢查系統啟動時的 SELinux 啟動設定。為此,執行以下指令:

    cat /etc/selinux/config

  2. 如果 SELINUX 參數設定為 enforcing,則封鎖 SELinux 在系統啟動時執行。要執行此操作,請在 /etc/selinux/config file 中指定 SELINUX=disabled 而非 SELINUX=enforcing
  3. 檢查 SELinux 的目前狀態。為此,執行以下指令:

    sestatus

  4. 如果 SELinux 狀態參數的值為 enabled,則停用 SELinux。為此,執行以下指令:

    setenforce 0

SELinux 已停用。

頁面頂端